package cn.powerone.scm.service;

import java.util.List;
import cn.powerone.scm.domain.ScmDefectTicket;

/**
 * 售后工单Service接口
 * 
 * @author PowerOne
 * @date 2025-08-22
 */
public interface IScmDefectTicketService 
{
    /**
     * 查询售后工单
     * 
     * @param id 售后工单主键
     * @return 售后工单
     */
    public ScmDefectTicket selectScmDefectTicketById(Long id);

    /**
     * 查询售后工单列表
     * 
     * @param scmDefectTicket 售后工单
     * @return 售后工单集合
     */
    public List<ScmDefectTicket> selectScmDefectTicketList(ScmDefectTicket scmDefectTicket);

    /**
     * 新增售后工单
     * 
     * @param scmDefectTicket 售后工单
     * @return 结果
     */
    public int insertScmDefectTicket(ScmDefectTicket scmDefectTicket);

    /**
     * 修改售后工单
     * 
     * @param scmDefectTicket 售后工单
     * @return 结果
     */
    public int updateScmDefectTicket(ScmDefectTicket scmDefectTicket);

    /**
     * 批量删除售后工单
     * 
     * @param ids 需要删除的售后工单主键集合
     * @return 结果
     */
    public int deleteScmDefectTicketByIds(Long[] ids);

    /**
     * 删除售后工单信息
     * 
     * @param id 售后工单主键
     * @return 结果
     */
    public int deleteScmDefectTicketById(Long id);
}
